package com.meter.data.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.meter.data.domain.AlarmData;

/**
 * 告警记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-05-15
 */
@Mapper
public interface AlarmDataMapper extends BaseMapper<AlarmData>
{
    /**
     * 查询告警记录
     * 
     * @param recordId 告警记录主键
     * @return 告警记录
     */
    public AlarmData selectAlarmDataByRecordId(Long recordId);

    /**
     * 查询告警记录列表
     * 
     * @param alarmData 告警记录
     * @return 告警记录集合
     */
    public List<AlarmData> selectAlarmDataList(AlarmData alarmData);
}
